﻿using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;

namespace Loong.Admin.Users
{
    public class UserDto : FullAuditedEntityDto<Guid>, IHasConcurrencyStamp, IHasEntityVersion
    {
        public string UserName { get; set; }

        public string Name { get; set; }

        public string Surname { get; set; }

        public string Email { get; set; }

        public bool EmailConfirmed { get; set; }

        public string PhoneNumber { get; set; }

        public bool PhoneNumberConfirmed { get; set; }

        public bool IsActive { get; set; }

        public bool LockoutEnabled { get; set; }

        public int AccessFailedCount { get; set; }

        public DateTimeOffset? LockoutEnd { get; set; }

        public string ConcurrencyStamp { get; set; }

        public int EntityVersion { get; set; }

        public DateTimeOffset? LastPasswordChangeTime { get; set; }
    }
}
